engine/schema: add upgrade path for source 4.11.2.0 version#3417
engine/schema: add upgrade path for source 4.11.2.0 version#3417yadvr merged 2 commits intoapache:4.11from
Conversation
This adds a missing upgrade path for source version 4.11.2.0. Without this fix, 4.11.2.0 users won't be able to upgrade to 4.11.3.0. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This reverts commit 5bfad44 because we'll need another RC on latest 4.11 branch towards 4.11.3.0.
|
@PaulAngus let's do a 4.11.3.1, or recall on 4.11.3.0 as it's not announced/published yet. |
|
@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
looks good, will check it out when we have Jenkins back up |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1 |
|
@blueorangutan test matrix |
|
@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@blueorangutan test matrix |
|
@PaulAngus a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian test result (tid-5)
|
|
Trillian test result (tid-8)
|
|
KVM env test failed due to backend IP-range issues, I've rekicked the test job. |
|
Trillian test result (tid-12)
|
|
@PaulAngus 4.11.3.0 RC2 can be cut now out of latest 4.11 branch. Thanks. |
This adds a missing upgrade path for source version 4.11.2.0. Without
this fix, 4.11.2.0 users won't be able to upgrade to 4.11.3.0.
The issue for 4.11.2.0 users will be that the expected DB upgrade exception will not be thrown around the 4.11.3 systemvmtemplate checks and post-upgrade any registered 4.11.3.0 systemvmtemplate will not be automatically used for systemvms and VRs.
We couldn't catch the bug before because an explicit upgrade from 4.11.2.0 was not tested (at least by me).
Workaround: (based on https://github.com/apache/cloudstack/blob/4.11/engine/schema/src/com/cloud/upgrade/dao/Upgrade41120to41130.java#L156)
Mgmt log reference:
Types of changes